/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package services.interfaces;

import java.util.Collection;
import javax.ejb.Local;
import javax.ejb.LocalBean;

/**
 *
 * @author amega
 */

public interface IGeneric<T> {
  
    int count();
    
    void remove(T entity);
    
    void edit(T entity);
    
    void create(T entity);
    
    T find (Long id);
    
    Collection<T> findAll();
}
